package com.sen.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sen.entity.UserEntity;

import java.util.Map;

/**
 * 用户表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-01-08 17:54:40
 */
public interface UserService extends IService<UserEntity> {

    /**
     * 分页查询所有用户
     * @param user 查询条件
     * @param page 分页
     * @return
     */
    IPage<UserEntity> queryAllUser(Map<String, String> user, Page<UserEntity> page);
}

